<!DOCTYPE html>
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<link href="<?php echo base_url();?>asset/admin/css/form_style.css" rel="stylesheet" type="text/css" />
<div id="main-content">
   <div class='title'>Input Data HPS</div>
   <p></p>
   <?php echo form_open('eproc/insert_hps');?>
   <table width='100%'>
      <tr>
         <td>Nomor HPS</td>
         <td>:</td>
         <td>
            <?php echo form_input('no_hps',set_value('no_hps'));?>
            <?php echo form_error('no_hps');?>
         </td>
      </tr>
      <tr>
         <td>Tanggal</td>
         <td>:</td>
         <td>
            <?php 
			$data=array(
              'name'        => 'tgl_hps',
              'id'          => 'tgl_hps',
              'value'       => 'tgl_hps',
			  'type'		=> 'date'
            );
			//echo form_input('tgl_hps',set_value('tgl_hps'),$data);
			echo form_input($data);
			?>
            <?php echo form_error('tgl_hps');?>
         </td>
      </tr>
      <tr>
         <td>Objek Pekerjaan</td>
         <td>:</td>
         <td>
            <?php echo form_input('objek_pekerjaan',set_value('objek_pekerjaan'));?>
            <?php echo form_error('objek_pekerjaan');?>
         </td>
      </tr>
      <tr>
         <td>Rincian HPS</td>
         <td>:</td>
         <td>
			<?php $data=array(
              'name'        => 'rincian_hps',
              'id'          => 'rincian_hps',
              'value'       => 'rincian_hps',
			  'type'		=> 'file',
			  'accept'		=>	'.pdf'
            );
			echo form_input($data); ?>
			<?php echo form_error('rincian_hps');?>
         </td>
      </tr>
	  <tr>
         <td>Nilai HPS</td>
         <td>:</td>
         <td>
			<?php echo form_input('nilai_hps',set_value('nilai_hps'));?>
			<?php echo form_error('nilai_hps');?>
         </td>
      </tr>
      <tr>
         <td></td>
         <td></td>
         <td><?php echo form_submit('submit','Simpan');?></td>
      </tr>
   </table>
   <?php echo form_close();?>
</div>